<%@page import="sdfi.lee.DAO.FileDAO"%>
<%@page import="sdfi.lee.Entity.Notice"%>
<%@page import="java.util.List"%>
<%@page import="sdfi.lee.Newpj.Entity.NNews" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../css/index.css" />
<link rel="stylesheet" href="../css/level.css" />
<script type="text/javascript" src="../js/jquery-1.6.js"></script>
<script type="text/javascript" src="../js/index.js"></script>
<title>国家新药创制平台（山东）—通知公告</title>
</head>
<body>
<%
String pg=request.getParameter("pg");
String path=request.getParameter("path");
String type=request.getParameter("type");
String nid=request.getParameter("id");
Notice notice=null;
if(path.contains("policy"))
notice=new FileDAO().getPolicyByFilepath(path);
else notice=new FileDAO().getNewsByFilepath(path);
List<NNews> list=new sdfi.lee.Newpj.DAO.NewsDAO().getNews(nid,Integer.valueOf(type));
request.setAttribute("list",list);
request.setAttribute("notice",notice);
%>


	<div class="divhead"> 当前位置：<a href="<c:url value='/index.jsp'/>" >首页</a>&nbsp;&gt;&nbsp;<a href="<c:url value='/news/newslist.jsp?pg=1&type=${param.type}'/>">
	<c:if test="${param.type==3}" >业界动态</c:if>
	<c:if test="${param.type==4}" >中心动态</c:if>
	<c:if test="${param.type==2}" >政策法规</c:if>
	</a>&nbsp;&gt;&nbsp;正文
	</div>
    <div id="divshowcontain">
    	<div id="divleft">
        	<div class="div_content_title">
        		${notice.noticetitle}
        	</div>
        	<div class="div_content_fenge1">&nbsp;</div>
        	<div class="div_content_date">${notice.noticedate}</div>
        	<div class="div_content_fenge2"></div>
        	<div class="div_detail">
        		${notice.noticecontent}
        	</div>
             <div style="clear:left"></div>
        </div>
        <div  id="divmid"></div>
        <div id="divright">
       		<c:forEach items="${requestScope.list}" var="news">
			<div class="div_news_item">
					<c:url var="newsurl" value="/news/rnewsdetail.jsp?type=${param.type}&path=${news.path}&pg=${param.pg+1}"></c:url>
            	<a href="${newsurl}" title="${news.title}">${news.title }</a>
            </div>
            </c:forEach>
        </div>
      <div style="clear:left"></div>
    </div>
</body>
</html>